STEP 3: Let's set up what will happen if the player chooses rock.

Remember, everything inside your if-statement must be indented with a yellow block ····.

  • In LOGIC, go to . Drag if into the bottom of your code.
  • Change the test value to "rock".
  • Go to . Drag Rock into your if statement.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)